package com.turnengine.client.common.serializer;

import com.javabi.command.serializer.ICommandDataSerializer;
import com.javabi.command.serializer.ICommandDataSerializerLookup;
import com.turnengine.client.global.admin.command.ExecuteScriptDataSerializer;
import com.turnengine.client.global.admin.command.PingDataSerializer;
import com.turnengine.client.global.admin.command.SendEmailDataSerializer;
import com.turnengine.client.global.announcement.command.DeleteAnnouncementDataSerializer;
import com.turnengine.client.global.announcement.command.GetAnnouncementCountDataSerializer;
import com.turnengine.client.global.announcement.command.GetAnnouncementListDataSerializer;
import com.turnengine.client.global.announcement.command.PostAnnouncementDataSerializer;
import com.turnengine.client.global.error.command.GetCommandStackTraceDataSerializer;
import com.turnengine.client.global.error.command.GetCommandStackTraceListDataSerializer;
import com.turnengine.client.global.game.command.GetGameByIdDataSerializer;
import com.turnengine.client.global.game.command.GetGameByNameDataSerializer;
import com.turnengine.client.global.game.command.GetGameDefinitionDataSerializer;
import com.turnengine.client.global.game.command.GetGameDefinitionsByGameNameDataSerializer;
import com.turnengine.client.global.game.command.GetGameDefinitionsDataSerializer;
import com.turnengine.client.global.game.command.GetGameHostByIdDataSerializer;
import com.turnengine.client.global.game.command.GetGameHostByNameDataSerializer;
import com.turnengine.client.global.game.command.GetGameHostsDataSerializer;
import com.turnengine.client.global.game.command.GetGameInstanceByIdDataSerializer;
import com.turnengine.client.global.game.command.GetGameInstanceByNameDataSerializer;
import com.turnengine.client.global.game.command.GetGameInstanceByNamesDataSerializer;
import com.turnengine.client.global.game.command.GetGameInstancesByGameNameDataSerializer;
import com.turnengine.client.global.game.command.GetGameInstancesDataSerializer;
import com.turnengine.client.global.game.command.GetGameVersionByIdDataSerializer;
import com.turnengine.client.global.game.command.GetGameVersionByNameDataSerializer;
import com.turnengine.client.global.game.command.GetGameVersionsDataSerializer;
import com.turnengine.client.global.game.command.GetGamesDataSerializer;
import com.turnengine.client.global.game.command.NewGameDataSerializer;
import com.turnengine.client.global.game.command.NewGameHostDataSerializer;
import com.turnengine.client.global.game.command.NewGameInstanceDataSerializer;
import com.turnengine.client.global.game.command.NewGameVersionDataSerializer;
import com.turnengine.client.global.game.command.ResetGameDataSerializer;
import com.turnengine.client.global.game.command.ShutdownGameDataSerializer;
import com.turnengine.client.global.game.command.StartupGameDataSerializer;
import com.turnengine.client.global.translation.command.GetTranslationByIdDataSerializer;
import com.turnengine.client.global.translation.command.GetTranslationByTextDataSerializer;
import com.turnengine.client.global.translation.command.NewTranslationDataSerializer;
import com.turnengine.client.global.translation.command.SetTranslationDataSerializer;
import com.turnengine.client.global.user.command.AdminVerifyUserDataSerializer;
import com.turnengine.client.global.user.command.CountUsersDataSerializer;
import com.turnengine.client.global.user.command.GetUserByEmailDataSerializer;
import com.turnengine.client.global.user.command.GetUserByIdDataSerializer;
import com.turnengine.client.global.user.command.GetUserByLoginIdDataSerializer;
import com.turnengine.client.global.user.command.GetUserByNameDataSerializer;
import com.turnengine.client.global.user.command.GetUserDataSerializer;
import com.turnengine.client.global.user.command.GetUserNamesDataSerializer;
import com.turnengine.client.global.user.command.LoginUserDataSerializer;
import com.turnengine.client.global.user.command.LogoutUserDataSerializer;
import com.turnengine.client.global.user.command.RenameUserDataSerializer;
import com.turnengine.client.global.user.command.SetSignupVerificationDataSerializer;
import com.turnengine.client.global.user.command.SetUserAddressDataSerializer;
import com.turnengine.client.global.user.command.SetUserGamePermissionDataSerializer;
import com.turnengine.client.global.user.command.SetUserLanguageDataSerializer;
import com.turnengine.client.global.user.command.SetUserPermissionDataSerializer;
import com.turnengine.client.global.user.command.SignupUserDataSerializer;
import com.turnengine.client.global.user.command.VerifyUserDataSerializer;
import com.turnengine.client.local.action.command.AddActionConditionDataSerializer;
import com.turnengine.client.local.action.command.AddActionDataSerializer;
import com.turnengine.client.local.action.command.AddActionTargetDataSerializer;
import com.turnengine.client.local.action.command.GetActionConditionListDataSerializer;
import com.turnengine.client.local.action.command.GetActionListDataSerializer;
import com.turnengine.client.local.action.command.GetActionTargetListDataSerializer;
import com.turnengine.client.local.action.command.StartActionAtPlayerDataSerializer;
import com.turnengine.client.local.alliance.command.DisbandAllianceDataSerializer;
import com.turnengine.client.local.alliance.command.FormAllianceDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceByIdDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceByNameDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceCountDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceInviteLimitDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceListDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceMemberCountDataSerializer;
import com.turnengine.client.local.alliance.command.GetAllianceMemberLimitDataSerializer;
import com.turnengine.client.local.alliance.command.GetInvitedToJoinAllianceListDataSerializer;
import com.turnengine.client.local.alliance.command.InviteToJoinAllianceDataSerializer;
import com.turnengine.client.local.alliance.command.KickAllianceMemberDataSerializer;
import com.turnengine.client.local.alliance.command.LeaveAllianceDataSerializer;
import com.turnengine.client.local.alliance.command.RequestToJoinAllianceDataSerializer;
import com.turnengine.client.local.alliance.command.SetAllianceInviteLimitDataSerializer;
import com.turnengine.client.local.alliance.command.SetAllianceMemberLimitDataSerializer;
import com.turnengine.client.local.alliance.command.SetAlliancesEnabledDataSerializer;
import com.turnengine.client.local.error.command.GetLocalTraceDataSerializer;
import com.turnengine.client.local.error.command.GetLocalTraceListDataSerializer;
import com.turnengine.client.local.faction.command.AddFactionDataSerializer;
import com.turnengine.client.local.faction.command.GetFactionByIdDataSerializer;
import com.turnengine.client.local.faction.command.GetFactionByNameDataSerializer;
import com.turnengine.client.local.faction.command.GetFactionsDataSerializer;
import com.turnengine.client.local.group.command.AddChildGroupDataSerializer;
import com.turnengine.client.local.group.command.AddParentGroupDataSerializer;
import com.turnengine.client.local.group.command.GetGroupByIdDataSerializer;
import com.turnengine.client.local.group.command.GetGroupByNameDataSerializer;
import com.turnengine.client.local.group.command.GetGroupListByFactionNameDataSerializer;
import com.turnengine.client.local.group.command.GetGroupsDataSerializer;
import com.turnengine.client.local.location.command.GenerateLocationsDataSerializer;
import com.turnengine.client.local.location.command.GetCoordinateGridsDataSerializer;
import com.turnengine.client.local.location.command.GetGridDetailsListDataSerializer;
import com.turnengine.client.local.location.command.GetLocationListDataSerializer;
import com.turnengine.client.local.location.command.GetLocationSignupsEnabledDataSerializer;
import com.turnengine.client.local.location.command.GetLocationsEnabledDataSerializer;
import com.turnengine.client.local.location.command.SetCoordinateGridPluginDataSerializer;
import com.turnengine.client.local.location.command.SetLocationCoordinatePluginDataSerializer;
import com.turnengine.client.local.location.command.SetLocationGenerationPluginDataSerializer;
import com.turnengine.client.local.location.command.SetLocationSignupsEnabledDataSerializer;
import com.turnengine.client.local.location.command.SetLocationsEnabledDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerActionQueueLimitDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerByIdDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerByNameDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerByUserIdDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerCountByFactionIdDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerCountDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerLimitDataSerializer;
import com.turnengine.client.local.player.command.GetPlayerSignupsEnabledDataSerializer;
import com.turnengine.client.local.player.command.IsPlayerSignedUpDataSerializer;
import com.turnengine.client.local.player.command.RenamePlayerDataSerializer;
import com.turnengine.client.local.player.command.SetPlayerActionQueueLimitDataSerializer;
import com.turnengine.client.local.player.command.SetPlayerLimitDataSerializer;
import com.turnengine.client.local.player.command.SetPlayerSignupPluginDataSerializer;
import com.turnengine.client.local.player.command.SetPlayerSignupsEnabledDataSerializer;
import com.turnengine.client.local.player.command.SignupPlayerDataSerializer;
import com.turnengine.client.local.property.command.GetLocalPropertyDataSerializer;
import com.turnengine.client.local.property.command.SetLocalPropertyDataSerializer;
import com.turnengine.client.local.turn.command.ExecuteTurnsDataSerializer;
import com.turnengine.client.local.turn.command.GetNextTurnUpdateTimeDataSerializer;
import com.turnengine.client.local.turn.command.GetTurnIntervalDataSerializer;
import com.turnengine.client.local.turn.command.GetTurnNumberDataSerializer;
import com.turnengine.client.local.turn.command.GetTurnSummaryDataSerializer;
import com.turnengine.client.local.turn.command.GetTurnUpdatingDataSerializer;
import com.turnengine.client.local.turn.command.SetTurnIntervalDataSerializer;
import com.turnengine.client.local.turn.command.SetTurnsEnabledDataSerializer;
import com.turnengine.client.local.unit.command.AddUnitDataSerializer;
import com.turnengine.client.local.unit.command.GetAllUnitsAtPlayerDataSerializer;
import com.turnengine.client.local.unit.command.GetStorageGroupsDataSerializer;
import com.turnengine.client.local.unit.command.GetStorageItemsDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitByIdDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitByNameDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitScoreDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitsAtPlayerDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitsByFactionIdDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitsByFactionNameDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitsByGroupIdDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitsByGroupNameDataSerializer;
import com.turnengine.client.local.unit.command.GetUnitsDataSerializer;
import com.turnengine.client.local.unit.command.SetStorageGroupDataSerializer;
import com.turnengine.client.local.unit.command.SetStorageItemDataSerializer;
import com.turnengine.client.local.unit.command.SetUnitScoreDataSerializer;
import com.turnengine.client.local.upkeep.command.AddUpkeepConditionDataSerializer;
import com.turnengine.client.local.upkeep.command.AddUpkeepDataSerializer;
import com.turnengine.client.local.upkeep.command.GetUpkeepConditionListDataSerializer;
import com.turnengine.client.local.upkeep.command.GetUpkeepListDataSerializer;

/**
 * The Command Data Serializer Lookup.
 */
public class CommandDataSerializerLookup implements ICommandDataSerializerLookup {

	public ICommandDataSerializer getSerializer(short commandId) {
		switch (commandId) {
			case 101: return new PostAnnouncementDataSerializer();
			case 102: return new GetAnnouncementCountDataSerializer();
			case 103: return new GetAnnouncementListDataSerializer();
			case 104: return new DeleteAnnouncementDataSerializer();
			case 201: return new GetCommandStackTraceDataSerializer();
			case 202: return new GetCommandStackTraceListDataSerializer();
			case 301: return new NewGameDataSerializer();
			case 302: return new NewGameVersionDataSerializer();
			case 303: return new NewGameInstanceDataSerializer();
			case 304: return new GetGameByIdDataSerializer();
			case 305: return new GetGameByNameDataSerializer();
			case 306: return new GetGameVersionByIdDataSerializer();
			case 307: return new GetGameVersionByNameDataSerializer();
			case 308: return new GetGameInstanceByIdDataSerializer();
			case 309: return new GetGameInstanceByNameDataSerializer();
			case 310: return new GetGamesDataSerializer();
			case 311: return new GetGameVersionsDataSerializer();
			case 312: return new GetGameInstancesDataSerializer();
			case 313: return new GetGameDefinitionsDataSerializer();
			case 314: return new GetGameDefinitionDataSerializer();
			case 315: return new StartupGameDataSerializer();
			case 316: return new ResetGameDataSerializer();
			case 317: return new ShutdownGameDataSerializer();
			case 318: return new NewGameHostDataSerializer();
			case 319: return new GetGameInstanceByNamesDataSerializer();
			case 320: return new GetGameHostByNameDataSerializer();
			case 321: return new GetGameHostByIdDataSerializer();
			case 322: return new GetGameHostsDataSerializer();
			case 323: return new GetGameInstancesByGameNameDataSerializer();
			case 324: return new GetGameDefinitionsByGameNameDataSerializer();
			case 401: return new NewTranslationDataSerializer();
			case 402: return new SetTranslationDataSerializer();
			case 403: return new GetTranslationByIdDataSerializer();
			case 404: return new GetTranslationByTextDataSerializer();
			case 501: return new SignupUserDataSerializer();
			case 502: return new VerifyUserDataSerializer();
			case 503: return new SetUserAddressDataSerializer();
			case 504: return new LoginUserDataSerializer();
			case 505: return new RenameUserDataSerializer();
			case 506: return new LogoutUserDataSerializer();
			case 507: return new SetUserLanguageDataSerializer();
			case 508: return new GetUserByIdDataSerializer();
			case 509: return new GetUserByNameDataSerializer();
			case 510: return new GetUserByEmailDataSerializer();
			case 511: return new GetUserByLoginIdDataSerializer();
			case 512: return new CountUsersDataSerializer();
			case 513: return new AdminVerifyUserDataSerializer();
			case 514: return new SetUserPermissionDataSerializer();
			case 515: return new SetUserGamePermissionDataSerializer();
			case 516: return new SetSignupVerificationDataSerializer();
			case 517: return new GetUserDataSerializer();
			case 518: return new GetUserNamesDataSerializer();
			case 601: return new PingDataSerializer();
			case 602: return new SendEmailDataSerializer();
			case 603: return new ExecuteScriptDataSerializer();
			case 1001: return new AddActionDataSerializer();
			case 1002: return new AddActionTargetDataSerializer();
			case 1003: return new AddActionConditionDataSerializer();
			case 1004: return new GetActionListDataSerializer();
			case 1005: return new GetActionTargetListDataSerializer();
			case 1006: return new GetActionConditionListDataSerializer();
			case 1007: return new StartActionAtPlayerDataSerializer();
			case 1101: return new GetAllianceCountDataSerializer();
			case 1102: return new GetAllianceMemberCountDataSerializer();
			case 1103: return new GetAllianceByIdDataSerializer();
			case 1104: return new GetAllianceByNameDataSerializer();
			case 1105: return new FormAllianceDataSerializer();
			case 1106: return new DisbandAllianceDataSerializer();
			case 1107: return new LeaveAllianceDataSerializer();
			case 1108: return new InviteToJoinAllianceDataSerializer();
			case 1109: return new RequestToJoinAllianceDataSerializer();
			case 1110: return new KickAllianceMemberDataSerializer();
			case 1111: return new GetInvitedToJoinAllianceListDataSerializer();
			case 1112: return new GetAllianceInviteLimitDataSerializer();
			case 1113: return new SetAllianceInviteLimitDataSerializer();
			case 1114: return new GetAllianceMemberLimitDataSerializer();
			case 1115: return new SetAllianceMemberLimitDataSerializer();
			case 1116: return new SetAlliancesEnabledDataSerializer();
			case 1117: return new GetAllianceListDataSerializer();
			case 1201: return new GetLocalTraceDataSerializer();
			case 1202: return new GetLocalTraceListDataSerializer();
			case 1301: return new AddFactionDataSerializer();
			case 1302: return new GetFactionByIdDataSerializer();
			case 1303: return new GetFactionByNameDataSerializer();
			case 1304: return new GetFactionsDataSerializer();
			case 1401: return new AddParentGroupDataSerializer();
			case 1402: return new AddChildGroupDataSerializer();
			case 1403: return new GetGroupByIdDataSerializer();
			case 1404: return new GetGroupByNameDataSerializer();
			case 1405: return new GetGroupsDataSerializer();
			case 1406: return new GetGroupListByFactionNameDataSerializer();
			case 1501: return new SignupPlayerDataSerializer();
			case 1502: return new GetPlayerByIdDataSerializer();
			case 1503: return new GetPlayerByUserIdDataSerializer();
			case 1504: return new GetPlayerByNameDataSerializer();
			case 1505: return new SetPlayerSignupsEnabledDataSerializer();
			case 1506: return new GetPlayerSignupsEnabledDataSerializer();
			case 1507: return new SetPlayerLimitDataSerializer();
			case 1508: return new GetPlayerLimitDataSerializer();
			case 1509: return new SetPlayerActionQueueLimitDataSerializer();
			case 1510: return new GetPlayerActionQueueLimitDataSerializer();
			case 1511: return new RenamePlayerDataSerializer();
			case 1512: return new GetPlayerCountDataSerializer();
			case 1513: return new GetPlayerCountByFactionIdDataSerializer();
			case 1514: return new IsPlayerSignedUpDataSerializer();
			case 1515: return new SetPlayerSignupPluginDataSerializer();
			case 1516: return new GetPlayerDataSerializer();
			case 1601: return new SetLocalPropertyDataSerializer();
			case 1602: return new GetLocalPropertyDataSerializer();
			case 1801: return new GetTurnNumberDataSerializer();
			case 1802: return new ExecuteTurnsDataSerializer();
			case 1803: return new SetTurnIntervalDataSerializer();
			case 1804: return new GetTurnIntervalDataSerializer();
			case 1805: return new SetTurnsEnabledDataSerializer();
			case 1806: return new GetTurnUpdatingDataSerializer();
			case 1807: return new GetNextTurnUpdateTimeDataSerializer();
			case 1808: return new GetTurnSummaryDataSerializer();
			case 1901: return new AddUnitDataSerializer();
			case 1902: return new SetStorageGroupDataSerializer();
			case 1903: return new SetStorageItemDataSerializer();
			case 1904: return new GetUnitByIdDataSerializer();
			case 1905: return new GetUnitByNameDataSerializer();
			case 1906: return new GetUnitsDataSerializer();
			case 1907: return new GetUnitsByFactionIdDataSerializer();
			case 1908: return new GetUnitsByFactionNameDataSerializer();
			case 1909: return new GetUnitsByGroupIdDataSerializer();
			case 1910: return new GetUnitsByGroupNameDataSerializer();
			case 1911: return new SetUnitScoreDataSerializer();
			case 1912: return new GetUnitScoreDataSerializer();
			case 1913: return new GetStorageGroupsDataSerializer();
			case 1914: return new GetStorageItemsDataSerializer();
			case 1915: return new GetAllUnitsAtPlayerDataSerializer();
			case 1916: return new GetUnitsAtPlayerDataSerializer();
			case 2001: return new SetLocationGenerationPluginDataSerializer();
			case 2002: return new GenerateLocationsDataSerializer();
			case 2003: return new SetCoordinateGridPluginDataSerializer();
			case 2004: return new GetCoordinateGridsDataSerializer();
			case 2005: return new SetLocationCoordinatePluginDataSerializer();
			case 2006: return new SetLocationsEnabledDataSerializer();
			case 2007: return new GetLocationsEnabledDataSerializer();
			case 2008: return new SetLocationSignupsEnabledDataSerializer();
			case 2009: return new GetLocationSignupsEnabledDataSerializer();
			case 2010: return new GetLocationListDataSerializer();
			case 2011: return new GetGridDetailsListDataSerializer();
			case 2101: return new AddUpkeepDataSerializer();
			case 2102: return new AddUpkeepConditionDataSerializer();
			case 2103: return new GetUpkeepListDataSerializer();
			case 2104: return new GetUpkeepConditionListDataSerializer();
		}
		throw new IllegalArgumentException("commandId=" + commandId);
	}
}
